<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<title><{$headTitle}></title>
<meta name="description" content="<{$metaDescription}>">
<meta name="keywords" content="<{$metaKeywords}>">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Language" content="en" /> 
<meta http-equiv="Cache-control" content="no-cache" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="robots" content="index,follow" /> 
<meta name="revisit-after" content="2 days" />

<link href="<{$APPLICATION_URL}>/Themes/<{$templateName}>/styles/style.css" type="text/css" rel="stylesheet" media="screen" />
<link rel="stylesheet" href="<{$APPLICATION_URL}>/Themes/<{$templateName}>/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<{$APPLICATION_URL}>/Themes/<{$templateName}>/coin-slider/coin-slider-styles.css" type="text/css" />
<link rel="shortcut icon" href="<{$ownerWebFavicon}>" title="<{$headTitle}>" />
<!--[if lt IE 8]>
<script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script>
<![endif]-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript" ></script>
<script src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/fancybox/jquery.fancybox-1.3.4.pack.js" type="text/javascript" ></script>
<script type="text/javascript" src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/coin-slider/coin-slider.min.js"></script>
<script src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/cufon/cufon-yui.js" type="text/javascript"></script> 
<script src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/cufon/Verdana_400.font.js" type="text/javascript"></script>
<script src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/cufon/Trebuchet_MS_400.font.js" type="text/javascript"></script>
<script src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/cufon/Trebuchet_MS_italic_400.font.js" type="text/javascript"></script>
<script type="text/javascript">
			Cufon.replace('#navigation a.main, .sidebar-navi p', { fontFamily: 'Verdana' , hover: true });
			Cufon.replace('.footer-headline p, .content-headline p, .fifty-grid h1, .third-grid h1, .seventy-grid h1, .date-comments-wrap p, .sidebar-navi p, .comments-icons-wrap p, .seventy-grid h2', { fontFamily: 'Verdana'});
			Cufon.replace('#sub-banner p', { fontFamily: 'Trebuchet MS' , textShadow: '1px 1px 0 rgba(0,0,0,0.2)'});
			Cufon.replace('a.content-button, a.contact-button, a.pre-button, a.next-button, a.blog_number', { fontFamily: 'Trebuchet MS' , hover: true });
			Cufon.replace('#t-slider li p', { fontFamily: 'Trebuchet MS' });
</script>
<script type="text/javascript">
	$(document).ready(function() {
		$("a.single_image").fancybox();	
		
		$(".yt").click(function() {
		$.fancybox({
			'padding'		: 0,
			'autoScale'		: false,
			'transitionIn'	: 'none',
			'transitionOut'	: 'none',
			'title'			: this.title,
			'width'			: 680,
			'height'		: 495,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'swf',
			'swf'			: {
			   	 'wmode'		: 'transparent',
				'allowfullscreen'	: 'true'
			}
		});

	return false;
});	

$(".vim1").fancybox({
		'padding'		: 0,
		'autoScale'		: false,
		'transitionIn'	: 'none',
		'transitionOut'	: 'none',
		'width'			: 600,
		'height'		: 450,
		'href'			: 'http://vimeo.com/moogaloop.swf?clip_id=7449107',
		'type'			: 'swf'
	});	
	
$(".extlink").fancybox({
         'width' : '75%',
         'height' : '75%',
         'autoScale' : false,
         'transitionIn' : 'none',
         'transitionOut' : 'none',
         'type' : 'iframe'
     });
	
	});
</script>
<script type="text/javascript"> 
	$(document).ready(function() {
		$('#p-slider').coinslider({ width: 904, height: 397, navigation: true, delay: 4000, effect: 'rain', sDelay: 40, spw: 7, sph: 5 });
	});
</script>

</head>
<body <{if $pageName == "user_blog_details" || $pageName == "user_news_details"}> class="single"<{/if}>>

<!-- Start Wrapper -->
<div id="wrapper">


    <{include file="$SMARTY_LAYOUT_PATH/$templateName/Header.tpl"}>
		
	
	<!-- Start Content -->
	<div id="content-wrapper">

      <{if $pageName != "index" && $pageName != "about" && $pageName != "dynamic_page"}>
      <div class="contentright">
		 <{include file="$SMARTY_LAYOUT_PATH/$templateName/RightPanel.tpl"}>
      </div>
      <{/if}>	
      
      <div <{if $pageName == "index" || $pageName == "about" || $pageName == "dynamic_page"}> class="contentfull"<{/if}>
      <{if $pageName != "index" || $pageName != "about" || $pageName != "dynamic_page"}> class="contentleft"<{/if}>>
      <{if $pageName == "index"}>
			<div id="p-slider">
			<{foreach item=bannerEntity from=$bannerItemList}>
                <a href="<{$bannerEntity->url}>"><img src='<{$bannerEntity->getImage()}>' alt="<{$bannerEntity->title}>" border="0" /></a>
            <{/foreach}>
			</div>      
      <{/if}>
        <{include file="$SMARTY_CONTENT_PATH"}>      
    </div>
    
    </div>
	
	<!-- Start Footer -->
	<div id="footer-wrapper">
	
	
	<!-- Start Footer Grid -->
	<div id="footer">
	<{include file="$SMARTY_LAYOUT_PATH/$templateName/Footer.tpl"}>
	</div>
	<!-- End Footer Grid -->
	</div>
	<!-- End Footer -->
	
	<!-- DO NOT REMOVE THIS LINE!!! --> <br style="clear:both" /> <!-- DO NOT REMOVE THIS LINE!!! -->
<!-- End Wrapper -->
</div>

<script type="text/javascript"> Cufon.now();</script>
</body>
</html>
